package com.jerry.shop.form;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

@Data
public class CategoryForm {

    private Integer id;     //类目id
    @NotEmpty(message = "名称必填")
    private String name;    //类目名字
    @NotEmpty(message = "编号必填")
    private String type;   //类目编号
}
